#define _CRT_SECURE_NO_WARNINGS 1

#include "Heap.h"

void test()
{
	Heap hp;
	int arr[] = { 50,4,5,7,9,3,15,20 };
	HeapCreate(&hp, arr, sizeof(arr) / sizeof(arr[0]));

	//HeapInit(&hp);

	HeapPush(&hp, 50);
	HeapPush(&hp, 40);
	HeapPush(&hp, 30);
	HeapPush(&hp, 60);


	while (!HeapEmpty(&hp))
	{
		printf("%d\n", HeapTop(&hp));
		HeapPop(&hp);
	}

	HeapDestory(&hp);
}
//int main()
//{
//	test();
//	return 0;
//}

#include <stdio.h>
int main()
{
	int a[3][2] = { (0, 1), (2, 3), (4, 5) };
	int* p;
	p = a[0];
	printf("%d", p[0]);
	return 0;
}